/**
 * Author atguigu
 * Date 2020/11/21 15:44
 */
object Demo1 {
    def main(args: Array[String]): Unit = {
        val list1:List[Int] = List()
        
        list1.foreach(x => println(x))
    
        for (elem <- list1) {
            println("----")
            println(elem)
        }
        
        
    }
}
